package com.wisdytech.linkdcs.tool.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 产品类型表
 * </p>
 *
 * @author zhanghailin
 * @since 2018-07-25
 */
@TableName("TM_PRODUCT_MODEL")
public class TmProductModel extends Model<TmProductModel> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一识别ID
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 产品类型
     */
    @TableField("PROD_MODEL")
    private String prodModel;
    /**
     * 产品类型名称
     */
    @TableField("PROD_MODEL_NAME")
    private String prodModelName;
    /**
     * 产品类型编码
     */
    @TableField("PROD_MODEL_CODE")
    private String prodModelCode;
    /**
     * 产品所属系列
     */
    @TableField("PROD_SERIES")
    private String prodSeries;
    /**
     * 删除标记
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 创建者
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * 更新者
     */
    @TableField("UPDATE_USER")
    private String updateUser;
    /**
     * 更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getProdModel() {
        return prodModel;
    }

    public void setProdModel(String prodModel) {
        this.prodModel = prodModel;
    }

    public String getProdModelName() {
        return prodModelName;
    }

    public void setProdModelName(String prodModelName) {
        this.prodModelName = prodModelName;
    }

    public String getProdModelCode() {
        return prodModelCode;
    }

    public void setProdModelCode(String prodModelCode) {
        this.prodModelCode = prodModelCode;
    }

    public String getProdSeries() {
        return prodSeries;
    }

    public void setProdSeries(String prodSeries) {
        this.prodSeries = prodSeries;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "TmProductModel{" +
        ", pkId=" + pkId +
        ", prodModel=" + prodModel +
        ", prodModelName=" + prodModelName +
        ", prodModelCode=" + prodModelCode +
        ", prodSeries=" + prodSeries +
        ", delFlag=" + delFlag +
        ", createUser=" + createUser +
        ", createDate=" + createDate +
        ", updateUser=" + updateUser +
        ", updateDate=" + updateDate +
        ", remark=" + remark +
        "}";
    }
}
